@(fornecedores: List[Fornecedor])
@import helper._ 
@import helper.twitterBootstrap._

@mainLogin("MKS Redutores - MRPv1") {
	<h1>MKS - Fornecedor</h1>
	@helper.form(action = routes.FornecedorApplication.fornecedorCadastro(),'id ->"fornecedorForm"){
	<table class="table table-striped table-bordered" id="example" cellpadding="0" cellspacing="0" border="0" width="100%">
	<thead>
		<tr>
			<th>ID</th>
			<th>Nome do Fornecedor</th>
			<th>CNPJ</th>
			<th>Email</th>
		</tr>
	</thead>
	<tfoot>
		@for(fornecedor <- fornecedores) {
		<tr>
			<td>@fornecedor.id</td>
			<td>@fornecedor.nomeFornecedor</td>
			<td>@fornecedor.cnpj</td>
			<td>@fornecedor.email</td>
		</tr>
		}
	</tfoot>
</table>
<input type="submit" class="btn btn-primary" onclick="this.form.action='fornecedorCadastro'" value="Cadastrar"/>
		} 
}
